﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
</head>

<body>
    <div id="container">
        <div id="header">
            @if (IsSectionDefined ("header")) {
                @RenderSection("header", false)
            } else {
                <h1>Philip Bonev's site</h1>
            }
        </div>
        <div id="nav">
            @if (IsSectionDefined("nav"))
            { 
                @RenderSection("nav", false)
            } else { 
                
            }
        </div>
        <div id="content">
            @RenderBody()
        </div>
        <div id="footer">
            @if (IsSectionDefined("footer"))
            { 
                @RenderSection("footer", false)
            } else { 
                <h6>
                Web site created by Philip Bonev.
                </h6>
            }
        </div>
    </div>
    <script src="@Url.Content("~/Scripts/jquery-2.1.0.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-2.7.2.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/json3.min.js")" type="text/javascript"></script>
    @if (IsSectionDefined("Scripts"))
    {
        @RenderSection("Scripts", false)
    }
</body>
</html>
